package com.qfedu.edu.queuemonitorservice.properties;

import com.dangdang.ddframe.job.reg.zookeeper.ZookeeperConfiguration;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiaobobo
 * @title: ElasticJobProperties
 * @projectName seckill-fy-2401-parent
 * @description: TODO
 * @date 2024/11/18  10:52
 */
@ConfigurationProperties(prefix = "elasticjob.config")
@Data
public class ElasticJobProperties {

   //注册中心的主机地址
   private String zookeeperRegistryCenterHost;

   //注册中心的端口
   private String zookeeperRegistryCenterNameSpace;

   //任务名字
   private String taskJobName;

   //任务执行的时间表达式
   private String cron;

   //总的分片
   private Integer shardingTotalCount;

}
